package reflection;

import java.util.ArrayList;
import java.util.Collection;

public class ResflectTest2 {

    public static void main(String[] args) {
        Collection arrayList = new ArrayList();
        ReflectPoint pt1 = new ReflectPoint(3, 3);
        ReflectPoint pt2 = new ReflectPoint(5, 5);
        ReflectPoint pt3 = new ReflectPoint(3, 3);
        arrayList.add(pt1);
        arrayList.add(pt2);
        arrayList.add(pt3);
        arrayList.add(pt1);
        System.out.println(arrayList.size());
    }
}
